package com.yx.modules.api.service;


import com.yx.modules.api.entity.TbCommentDianzanRecord;

import java.util.List;
import java.util.Map;

/**
 * 图书评论点赞记录
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-22 14:21:22
 */
public interface TbCommentDianzanRecordService {
	
	TbCommentDianzanRecord queryObject(Integer id);
	
	List<TbCommentDianzanRecord> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbCommentDianzanRecord commentDianzanRecord);
	
	void update(TbCommentDianzanRecord commentDianzanRecord);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

    TbCommentDianzanRecord findBookRcord(Integer userId, Integer id);
}
